import requests
from bs4 import BeautifulSoup

# 微信公众号文章链接
url = 'https://mp.weixin.qq.com/s/l-S5TQjeP8DYE0G7DHl59w'

# 发起请求获取页面内容
response = requests.get(url)
html = response.text
print(html)
# 使用BeautifulSoup解析页面
soup = BeautifulSoup(html, 'html.parser')

# 找到划线内容所在的标签
strike_tags = soup.find_all('span', class_='strike')  # 这里假设划线内容在<span class="strike">标签中

# 打印划线内容
for tag in strike_tags:
    print(tag.text)
